<?php

class DashboardController extends \BaseController
{

    //Function when accessing the root /Dashboard
    public function index()
    {
        //Check for login
        if (!Auth::check())
        {
            return Redirect::to('login');
        };;

        return View::make('dashboard');
    }
}
